<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-cgzxChkbillMesT-edit" th:object="${cgzxChkbillMesT}">
            <input id="gid" name="gid" th:field="*{gid}"  type="hidden">
			<div class="form-group">	
				<label class="col-sm-3 control-label">检测单据号：</label>
				<div class="col-sm-8">
					<input id="code" name="code" th:field="*{code}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">产品名称：</label>
				<div class="col-sm-8">
					<input id="productName" name="productName" th:field="*{productName}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">产品编码：</label>
				<div class="col-sm-8">
					<input id="produUid" name="produUid" th:field="*{produUid}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">工序名称：</label>
				<div class="col-sm-8">
					<input id="opName" name="opName" th:field="*{opName}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">工序编号：</label>
				<div class="col-sm-8">
					<input id="opCode" name="opCode" th:field="*{opCode}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">工位编号：</label>
				<div class="col-sm-8">
					<input id="workstationCode" name="workstationCode" th:field="*{workstationCode}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">单据检测结果(0未判定、1不合格、7合格)：</label>
				<div class="col-sm-8">
					<input id="result" name="result" th:field="*{result}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">检测项编码：</label>
				<div class="col-sm-8">
					<input id="citemCode" name="citemCode" th:field="*{citemCode}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">检测项名称：</label>
				<div class="col-sm-8">
					<input id="citemName" name="citemName" th:field="*{citemName}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">检测项说明：</label>
				<div class="col-sm-8">
					<input id="citemRemark" name="citemRemark" th:field="*{citemRemark}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">检测项类型(0,定性;1,定量;2,序列号;3,文本信息;4,文件)：</label>
				<div class="col-sm-8">
					<input id="checkModel" name="checkModel" th:field="*{checkModel}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">标准值（1定量检测）：</label>
				<div class="col-sm-8">
					<input id="standardValue" name="standardValue" th:field="*{standardValue}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">控制下限（1定量检测）：</label>
				<div class="col-sm-8">
					<input id="minValue" name="minValue" th:field="*{minValue}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">控制上限（1定量检测）：</label>
				<div class="col-sm-8">
					<input id="maxValue" name="maxValue" th:field="*{maxValue}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">控制上限（1定量检测）：</label>
				<div class="col-sm-8">
					<input id="chkValue" name="chkValue" th:field="*{chkValue}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">控制上限（1定量检测）：</label>
				<div class="col-sm-8">
					<input id="chkResult" name="chkResult" th:field="*{chkResult}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">备注（2装配信息-填写序列号）：</label>
				<div class="col-sm-8">
					<input id="remark" name="remark" th:field="*{remark}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">处理人工号：</label>
				<div class="col-sm-8">
					<input id="processer" name="processer" th:field="*{processer}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">处理时间：</label>
				<div class="col-sm-8">
					<input id="processDate" name="processDate" th:field="*{processDate}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">特殊编码：</label>
				<div class="col-sm-8">
					<input id="specialCode" name="specialCode" th:field="*{specialCode}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">检测项分组：</label>
				<div class="col-sm-8">
					<input id="checkGroup" name="checkGroup" th:field="*{checkGroup}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">标志位：</label>
				<div class="col-sm-8">
					<input id="flag" name="flag" th:field="*{flag}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">派工单编号：</label>
				<div class="col-sm-8">
					<input id="dispatchCode" name="dispatchCode" th:field="*{dispatchCode}" class="form-control" type="text">
				</div>
			</div>
		</form>
    </div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "system/cgzxChkbillMesT";
		$("#form-cgzxChkbillMesT-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			}
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/edit", $('#form-cgzxChkbillMesT-edit').serialize());
	        }
	    }
	</script>
</body>
</html>
